<template>
  <div>
    <van-swipe 
    class="my-swipe" 
    :autoplay="1000" 
    indicator-color="white"
    >
    <van-swipe-item 
    
    v-for=" item in swipeList" 
    :key="item.id">
    <img 
    style="width:100%; height:170px;"
    :src="item.picUrl" 
    alt="">

    </van-swipe-item>
    </van-swipe>

  </div>
</template>

<script lang="ts">
import { defineComponent } from "vue"
export default defineComponent({
  name: 'Swipe',
})
</script>

<script lang="ts" setup>
const props=defineProps<{
  swipeList:any
}>()

</script>

<style scoped lang="scss">

</style>